home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl2 / examples / selection / README < prev    next >
Encoding:
Text File  |  1996-11-11  |  1.0 KB  |  32 lines

  1.  
  2.         to compile programs in the above-indicated sub- directories/trees, 
  3.        one must load libglut. inst-able images of GLUT v3.1 are located at 
  4.                 toolbox/src/exampleCode/opengl/GLUT/inst/ 
  5.  
  6.                   -------------------------------------
  7.  
  8.      ~opengl2/examples/selection README
  9.  
  10.             Copyright 1991-1996, Silicon Graphics,  Inc.
  11.             Technical Education Development
  12.             All Rights Reserved.
  13.  
  14.      pickSolar.c:
  15.       Demonstrates picking.
  16.  
  17.         Left Mouse Button, down     - pick object(s)
  18.         <r> key                - toggle rotation on/off
  19.         Escape key            - exit the program
  20.  
  21.      selectSolar.c:
  22.      Demonstrates selection. A simple solar system is drawn first
  23.      in render mode, then in select mode with a narrower
  24.      perspective, selecting the center of the scene.  Names are
  25.      assigned to the shapes, and if they score hits within the
  26.      selected region the selected names can be retrieved.
  27.  
  28.         SPACE key               - toggle selection mode
  29.         <r> key                 - toggle rotation on/off
  30.         Escape key              - exit the program
  31.  
  32.